/* 
 * File:   Directory.h
 * Author: guilhermemg
 *
 * Created on 13 de Fevereiro de 2012, 20:51
 */

#ifndef DIRECTORY_H
#define	DIRECTORY_H
#include <dirent.h>
#include <cstdlib>
#include <vector>
#include <iostream>
#include <cstring>
#include <errno.h>

using namespace std;

class Directory {
public:
    Directory(const char* p);
    Directory(const Directory& orig);
    virtual ~Directory();
    void setDirectory(const char* p);
    vector<string> readDirectory();
    void readInDirectory(string path);
    vector<string> getFileNames();
private:
    const char* path;
    vector<string> filenames;
};

#endif	/* DIRECTORY_H */

